#include <stdio.h>


int test(int li, int lj)
{
  int a[100], k;
  int i = li+lj;
  int j = li-lj;
  int result = 1;
  if (i < j)
  {
    result = i + j;
    if (i < result)
    {
      i = result;
      result += j;
    }
    else
      goto end;
  }
  else
  {
    i = j;
    if (j < result)
    {
      j = result;
      result += i;
    }
    else
      goto end;
  }

end:
k = a[i] + a[j];
printf("%d %d\n", i, j);

return k;
}

int main()
{
  int i = 100, j = 100, result;
  result = test(i, j);

  printf("%d\n", result);
  return 0;
}
